<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>EbookAZ</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<?php require "../components/head.php" ?>
	<script type="text/javascript" src="../scripts/dangky_script.js"></script>
</head>
<body onload="MakeCurrentPage(1); getAllField(); changeCode()">
<div id="container">
	<?php require "../components/guest_menu.php" ?>
	<?php require "../components/guest_header.php" ?>
	<div id="content">
		<?php require "../components/content_left.php"?>
		<div id="content_right" align="center">
  		  
			<h1>ĐĂNG KÝ THÀNH VIÊN</h1> 
            <form action="xl_dangky.php" method="post" name="frmDangKy">
                <img id="loadWait" src="../images/loader.gif" style="display:none"/>
                <table class='normal'>
                    <tr>
                        <td>Tên đăng nhập <font color="#FF0000">(*)</font> </td>
                        <td><input type="text" name="txtUsername" size="30" length = "30" onblur="KTUsername(this.value)"/></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><label id='lbUsername'></label></td>
                    </tr>
                    <tr>
                        <td>Mật khẩu  <font color="#FF0000">(*)</font></td>
                        <td><input type="password" name="txtPassword1" size="30" length="20" onblur="KTPass(this.value)"/> </td>
                    </tr>
                    <tr>
                        <td></td>    
                        <td><label id="lbPassword1"></label></td>
                    </tr>
                    <tr>
                        <td>Nhập lại mật khẩu  <font color="#FF0000">(*)</font></td>
                        <td><input type="password" name="txtPassword2" size="30"  onblur="KTPass1_Pass2()"/></td>
                    </tr>
                    <tr>    
                        <td></td>
                        <td> <label id="lbPassword2"></label></td>
                    </tr>
                    <tr>
                        <td>Email  <font color="#FF0000">(*)</font></td>
                        <td><input type="text" name="txtEmail" size="50" maxlength="30"  onblur="KTEmail(this.value)"/></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><label id="lbEmail"></label></td>
                    </tr>
                    <tr>
                        <td>
                            Lĩnh vực yêu thích
                        </td>
                        <td id="tdLinhVuc">
                			<img id="loadLinhVuc" src="../images/loader.gif" style="display:none"/>
                        </td>
                    </tr>
                    <tr>
                        <td valign="bottom">Mã xác nhận  <font color="#FF0000">(*)</font></td>
                        <td><img src="" height="23"  id="imgCaptcha"/><a href="#" onclick="changeCode();return false;"> Đổi mã</a><br /><input type="text" size="23" name="txtMaXacNhan"  onblur="KTMaXN(this.value)"/></td>        
                    </tr>
                    <tr>
                        <td></td>
                        <td><label id="lbMaXacNhan"></label></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input type="checkbox" id="idCheckAgree" onchange="checkAgree();"/> Tôi đồng ý thực hiện đúng những quy định của ebookaz.com</td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><label id='lbcheckAgree'></label></td>
                    </tr>
                    <tr>
                        <td ></td>
                        <td><input type="button" value="Đăng ký" id="bntDangKy" onclick="KTSubmit()"/></td>
                    </tr>
                </table>
            </form>
        </div>
	</div>
	<?php require "../components/footer.php" ?>
</div>
</body>
</html>
